{% extends "echo_base.html" %}
{% block globalconteiner %}
<h2>Предметы</h2>
<table>   
<tr>
<th>#</th>
<th></th>
<th>Наименование</th>
<th>Описание</th>
<th>Автор</th>
</tr>
{% for item in items_list %}    
  <tr>
    <td>{{ item.id }}</td>
    <td><img src="{{item.preview_item_photo_small}}"></img></td>
    <td><a href="{% url result item.id %}">{{ item }}</a></td>  
    <td>{{ item.description }}</td>
    <td>{{ item.author }}</td>
  </tr>    
{% endfor %}    
</table>     
{% endblock %}